home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Texteditors / Origami / Sources / src / Amiga / smakefiles / fol_smakefile < prev    next >
Encoding:
Makefile  |  1996-09-27  |  1.3 KB  |  63 lines

  1. #Makefile for the amiga port of origami
  2. #Version 1.6.92.1
  3. #
  4. SC=             sc
  5. SLINK=          slink
  6. #
  7. #FLAGS1 : compiler options for compiler behaviour
  8. FLAGS1=         ANSI NOICONS STRCON WARNVOIDRETURN IGNORE=104
  9. #
  10. #FLAGS2 : include options
  11. FLAGS2=         IDIR=origami:
  12. #
  13. #FLAGS3 : define options
  14. FLAGS3=         DEF=MOUSY DEF=AMIGA DEF=FOLDER
  15. #
  16. #FLAGS4 : additional options
  17. FLAGS4=         OPTIMIZE OptComp=0 OptInl OptInlocal Optsize
  18. #
  19. #DEBUG_FLAGS : define DEBUG for DEGUB usage
  20. #DEBUG_FLAGS=    DEBUG=symbolflush
  21. #DEB_LD_FLAGS=   ADDSYM
  22. #
  23. #FLAGS5 : link options for linker behaviour
  24. FLAGS5=         BATCH
  25. #
  26. #FLAGS6 : library options
  27. FLAGS6=         LIB LIB:sc.lib LIB LIB:amiga.lib LIB /lib/orilib.lib
  28.  
  29. SCFLAGS=        ResOpt $(FLAGS1) $(FLAGS2) $(FLAGS3) $(FLAGS4) $(DEBUG_FLAGS)
  30. LDFLAGS=        $(FLAGS5) $(FLAGS6) $(DEB_LD_FLAGS)
  31.  
  32. .c.o:
  33.                 $(SC) $(SCFLAGS) $*
  34.  
  35. OBJS=           main.o
  36.  
  37. #{{{}}}
  38. #{{{  -> all
  39. all:            dirfold
  40. #}}}
  41.  
  42. #{{{  dirfold
  43. dirfold:        $(OBJS)
  44.                 $(slink) <with <
  45.                 from lib:c.o+$(OBJS) $(LDFLAGS) to dirfold
  46.                 <
  47. #}}}
  48.  
  49. #{{{  -> install
  50. install:
  51.                 copy dirfold //bin
  52. #}}}
  53.  
  54. #{{{  -> reset
  55. reset:          clean
  56.                 -delete dirfold smakefile
  57. #}}}
  58.  
  59. #{{{  -> clean
  60. clean:
  61.                 -delete \#?.o \#?.lnk \#?.tmp \#?.info
  62. #}}}
  63.